<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaPifatuanProductSearchTagListTagResult extends SDKDomain {

       	
    private $tagId;
    
        /**
    * @return 标签id
    */
        public function getTagId() {
        return $this->tagId;
    }
    
    /**
     * 设置标签id     
     * @param Long $tagId     
     * 参数示例：<pre>null</pre>     
     * 此参数必填     */
    public function setTagId( $tagId) {
        $this->tagId = $tagId;
    }
    
        	
    private $tagName;
    
        /**
    * @return 标签名称
    */
        public function getTagName() {
        return $this->tagName;
    }
    
    /**
     * 设置标签名称     
     * @param String $tagName     
     * 参数示例：<pre>null</pre>     
     * 此参数必填     */
    public function setTagName( $tagName) {
        $this->tagName = $tagName;
    }
    
        	
    private $ruleId;
    
        /**
    * @return 标签id
    */
        public function getRuleId() {
        return $this->ruleId;
    }
    
    /**
     * 设置标签id     
     * @param Long $ruleId     
     * 参数示例：<pre>null</pre>     
     * 此参数必填     */
    public function setRuleId( $ruleId) {
        $this->ruleId = $ruleId;
    }
    
        	
    private $ruleName;
    
        /**
    * @return 标签名称
    */
        public function getRuleName() {
        return $this->ruleName;
    }
    
    /**
     * 设置标签名称     
     * @param String $ruleName     
     * 参数示例：<pre>null</pre>     
     * 此参数必填     */
    public function setRuleName( $ruleName) {
        $this->ruleName = $ruleName;
    }
    
        	
    private $ruleDesc;
    
        /**
    * @return 标签描述
    */
        public function getRuleDesc() {
        return $this->ruleDesc;
    }
    
    /**
     * 设置标签描述     
     * @param String $ruleDesc     
     * 参数示例：<pre>千玺辣妹</pre>     
     * 此参数必填     */
    public function setRuleDesc( $ruleDesc) {
        $this->ruleDesc = $ruleDesc;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "tagId", $this->stdResult )) {
    				$this->tagId = $this->stdResult->{"tagId"};
    			}
    			    		    				    			    			if (array_key_exists ( "tagName", $this->stdResult )) {
    				$this->tagName = $this->stdResult->{"tagName"};
    			}
    			    		    				    			    			if (array_key_exists ( "ruleId", $this->stdResult )) {
    				$this->ruleId = $this->stdResult->{"ruleId"};
    			}
    			    		    				    			    			if (array_key_exists ( "ruleName", $this->stdResult )) {
    				$this->ruleName = $this->stdResult->{"ruleName"};
    			}
    			    		    				    			    			if (array_key_exists ( "ruleDesc", $this->stdResult )) {
    				$this->ruleDesc = $this->stdResult->{"ruleDesc"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "tagId", $this->arrayResult )) {
    			$this->tagId = $arrayResult['tagId'];
    			}
    		    	    			    		    			if (array_key_exists ( "tagName", $this->arrayResult )) {
    			$this->tagName = $arrayResult['tagName'];
    			}
    		    	    			    		    			if (array_key_exists ( "ruleId", $this->arrayResult )) {
    			$this->ruleId = $arrayResult['ruleId'];
    			}
    		    	    			    		    			if (array_key_exists ( "ruleName", $this->arrayResult )) {
    			$this->ruleName = $arrayResult['ruleName'];
    			}
    		    	    			    		    			if (array_key_exists ( "ruleDesc", $this->arrayResult )) {
    			$this->ruleDesc = $arrayResult['ruleDesc'];
    			}
    		    	    		}
 
   
}
?>